package com.teamall.web.fpxm.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class AidProjectProgressArg {
    private String pk_name = "PROJECT_PROGRESS";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<AidProjectProgressCriteria> oredCriteria;

    public AidProjectProgressArg() {
        oredCriteria = new ArrayList<AidProjectProgressCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<AidProjectProgressCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(AidProjectProgressCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public AidProjectProgressCriteria or() {
    	AidProjectProgressCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public AidProjectProgressCriteria createCriteria() {
    	AidProjectProgressCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected AidProjectProgressCriteria createCriteriaInternal() {
    	AidProjectProgressCriteria criteria = new AidProjectProgressCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<AidProjectProgressCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<AidProjectProgressCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<AidProjectProgressCriterion> getAllCriteria() {
            return criteria;
        }

        public List<AidProjectProgressCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new AidProjectProgressCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new AidProjectProgressCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new AidProjectProgressCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new AidProjectProgressCriterion(condition, value1, value2));
        }

        public AidProjectProgressCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (AidProjectProgressCriteria) this;
        }
        public AidProjectProgressCriteria andProjectProgressIsNull() {
            addCriterion("PROJECT_PROGRESS is null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressIsNotNull() {
            addCriterion("PROJECT_PROGRESS is not null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressEqualTo(Integer value) {
            addCriterion("PROJECT_PROGRESS =", value, "PROJECT_PROGRESS");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressNotEqualTo(Integer value) {
            addCriterion("PROJECT_PROGRESS <>", value, "PROJECT_PROGRESS");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressGreaterThan(Integer value) {
            addCriterion("PROJECT_PROGRESS >", value, "PROJECT_PROGRESS");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressGreaterThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_PROGRESS >=", value, "PROJECT_PROGRESS");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressLessThan(Integer value) {
            addCriterion("PROJECT_PROGRESS <", value, "PROJECT_PROGRESS");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressLessThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_PROGRESS <=", value, "PROJECT_PROGRESS");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressLike(Integer value) {
            addCriterion("PROJECT_PROGRESS like ", value, "PROJECT_PROGRESS", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressNotLike(Integer value) {
            addCriterion("PROJECT_PROGRESS  not like ", value, "PROJECT_PROGRESS", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressLeftLike(Integer value) {
            addCriterion("PROJECT_PROGRESS like ", value, "PROJECT_PROGRESS", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressNotLeftLike(Integer value) {
            addCriterion("PROJECT_PROGRESS  not like ", value, "PROJECT_PROGRESS", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressRightLike(Integer value) {
            addCriterion("PROJECT_PROGRESS like ", value, "PROJECT_PROGRESS", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressNotRightLike(Integer value) {
            addCriterion("PROJECT_PROGRESS  not like ", value, "PROJECT_PROGRESS", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressIn(List<Integer> values) {
            addCriterion("PROJECT_PROGRESS  in ", values, "PROJECT_PROGRESS");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressNotIn(List<Integer> values) {
            addCriterion("PROJECT_PROGRESS not in ", values, "PROJECT_PROGRESS");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_PROGRESS between ", value1, value2, "PROJECT_PROGRESS");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectProgressNotBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_PROGRESS not between ", value1, value2, "PROJECT_PROGRESS");
            return (AidProjectProgressCriteria) this;
        }
        public AidProjectProgressCriteria andProjectIdIsNull() {
            addCriterion("PROJECT_ID is null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdIsNotNull() {
            addCriterion("PROJECT_ID is not null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdEqualTo(Integer value) {
            addCriterion("PROJECT_ID =", value, "PROJECT_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdNotEqualTo(Integer value) {
            addCriterion("PROJECT_ID <>", value, "PROJECT_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdGreaterThan(Integer value) {
            addCriterion("PROJECT_ID >", value, "PROJECT_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_ID >=", value, "PROJECT_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdLessThan(Integer value) {
            addCriterion("PROJECT_ID <", value, "PROJECT_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdLessThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_ID <=", value, "PROJECT_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdLike(Integer value) {
            addCriterion("PROJECT_ID like ", value, "PROJECT_ID", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdNotLike(Integer value) {
            addCriterion("PROJECT_ID  not like ", value, "PROJECT_ID", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdLeftLike(Integer value) {
            addCriterion("PROJECT_ID like ", value, "PROJECT_ID", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdNotLeftLike(Integer value) {
            addCriterion("PROJECT_ID  not like ", value, "PROJECT_ID", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdRightLike(Integer value) {
            addCriterion("PROJECT_ID like ", value, "PROJECT_ID", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdNotRightLike(Integer value) {
            addCriterion("PROJECT_ID  not like ", value, "PROJECT_ID", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdIn(List<Integer> values) {
            addCriterion("PROJECT_ID  in ", values, "PROJECT_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdNotIn(List<Integer> values) {
            addCriterion("PROJECT_ID not in ", values, "PROJECT_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_ID between ", value1, value2, "PROJECT_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andProjectIdNotBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_ID not between ", value1, value2, "PROJECT_ID");
            return (AidProjectProgressCriteria) this;
        }
        public AidProjectProgressCriteria andMonthIsNull() {
            addCriterion("MONTH is null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthIsNotNull() {
            addCriterion("MONTH is not null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthEqualTo(Integer value) {
            addCriterion("MONTH =", value, "MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthNotEqualTo(Integer value) {
            addCriterion("MONTH <>", value, "MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthGreaterThan(Integer value) {
            addCriterion("MONTH >", value, "MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthGreaterThanOrEqualTo(Integer value) {
            addCriterion("MONTH >=", value, "MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthLessThan(Integer value) {
            addCriterion("MONTH <", value, "MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthLessThanOrEqualTo(Integer value) {
            addCriterion("MONTH <=", value, "MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthLike(Integer value) {
            addCriterion("MONTH like ", value, "MONTH", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthNotLike(Integer value) {
            addCriterion("MONTH  not like ", value, "MONTH", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthLeftLike(Integer value) {
            addCriterion("MONTH like ", value, "MONTH", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthNotLeftLike(Integer value) {
            addCriterion("MONTH  not like ", value, "MONTH", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthRightLike(Integer value) {
            addCriterion("MONTH like ", value, "MONTH", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthNotRightLike(Integer value) {
            addCriterion("MONTH  not like ", value, "MONTH", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthIn(List<Integer> values) {
            addCriterion("MONTH  in ", values, "MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthNotIn(List<Integer> values) {
            addCriterion("MONTH not in ", values, "MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthBetween(Integer value1, Integer value2) {
            addCriterion("MONTH between ", value1, value2, "MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andMonthNotBetween(Integer value1, Integer value2) {
            addCriterion("MONTH not between ", value1, value2, "MONTH");
            return (AidProjectProgressCriteria) this;
        }
        public AidProjectProgressCriteria andPeriodOfMonthIsNull() {
            addCriterion("PERIOD_OF_MONTH is null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthIsNotNull() {
            addCriterion("PERIOD_OF_MONTH is not null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthEqualTo(Integer value) {
            addCriterion("PERIOD_OF_MONTH =", value, "PERIOD_OF_MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthNotEqualTo(Integer value) {
            addCriterion("PERIOD_OF_MONTH <>", value, "PERIOD_OF_MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthGreaterThan(Integer value) {
            addCriterion("PERIOD_OF_MONTH >", value, "PERIOD_OF_MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthGreaterThanOrEqualTo(Integer value) {
            addCriterion("PERIOD_OF_MONTH >=", value, "PERIOD_OF_MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthLessThan(Integer value) {
            addCriterion("PERIOD_OF_MONTH <", value, "PERIOD_OF_MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthLessThanOrEqualTo(Integer value) {
            addCriterion("PERIOD_OF_MONTH <=", value, "PERIOD_OF_MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthLike(Integer value) {
            addCriterion("PERIOD_OF_MONTH like ", value, "PERIOD_OF_MONTH", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthNotLike(Integer value) {
            addCriterion("PERIOD_OF_MONTH  not like ", value, "PERIOD_OF_MONTH", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthLeftLike(Integer value) {
            addCriterion("PERIOD_OF_MONTH like ", value, "PERIOD_OF_MONTH", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthNotLeftLike(Integer value) {
            addCriterion("PERIOD_OF_MONTH  not like ", value, "PERIOD_OF_MONTH", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthRightLike(Integer value) {
            addCriterion("PERIOD_OF_MONTH like ", value, "PERIOD_OF_MONTH", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthNotRightLike(Integer value) {
            addCriterion("PERIOD_OF_MONTH  not like ", value, "PERIOD_OF_MONTH", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthIn(List<Integer> values) {
            addCriterion("PERIOD_OF_MONTH  in ", values, "PERIOD_OF_MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthNotIn(List<Integer> values) {
            addCriterion("PERIOD_OF_MONTH not in ", values, "PERIOD_OF_MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthBetween(Integer value1, Integer value2) {
            addCriterion("PERIOD_OF_MONTH between ", value1, value2, "PERIOD_OF_MONTH");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPeriodOfMonthNotBetween(Integer value1, Integer value2) {
            addCriterion("PERIOD_OF_MONTH not between ", value1, value2, "PERIOD_OF_MONTH");
            return (AidProjectProgressCriteria) this;
        }
        public AidProjectProgressCriteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateEqualTo(Date value) {
            addCriterion("CREATE_DATE =", value, "CREATE_DATE");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateNotEqualTo(Date value) {
            addCriterion("CREATE_DATE <>", value, "CREATE_DATE");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateGreaterThan(Date value) {
            addCriterion("CREATE_DATE >", value, "CREATE_DATE");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE >=", value, "CREATE_DATE");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateLessThan(Date value) {
            addCriterion("CREATE_DATE <", value, "CREATE_DATE");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE <=", value, "CREATE_DATE");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateLike(Date value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateNotLike(Date value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateLeftLike(Date value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateNotLeftLike(Date value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateRightLike(Date value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateNotRightLike(Date value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateIn(List<Date> values) {
            addCriterion("CREATE_DATE  in ", values, "CREATE_DATE");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateNotIn(List<Date> values) {
            addCriterion("CREATE_DATE not in ", values, "CREATE_DATE");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE between ", value1, value2, "CREATE_DATE");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE not between ", value1, value2, "CREATE_DATE");
            return (AidProjectProgressCriteria) this;
        }
        public AidProjectProgressCriteria andStaffIdIsNull() {
            addCriterion("STAFF_ID is null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdIsNotNull() {
            addCriterion("STAFF_ID is not null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdEqualTo(Integer value) {
            addCriterion("STAFF_ID =", value, "STAFF_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdNotEqualTo(Integer value) {
            addCriterion("STAFF_ID <>", value, "STAFF_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdGreaterThan(Integer value) {
            addCriterion("STAFF_ID >", value, "STAFF_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("STAFF_ID >=", value, "STAFF_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdLessThan(Integer value) {
            addCriterion("STAFF_ID <", value, "STAFF_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdLessThanOrEqualTo(Integer value) {
            addCriterion("STAFF_ID <=", value, "STAFF_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdLike(Integer value) {
            addCriterion("STAFF_ID like ", value, "STAFF_ID", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdNotLike(Integer value) {
            addCriterion("STAFF_ID  not like ", value, "STAFF_ID", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdLeftLike(Integer value) {
            addCriterion("STAFF_ID like ", value, "STAFF_ID", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdNotLeftLike(Integer value) {
            addCriterion("STAFF_ID  not like ", value, "STAFF_ID", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdRightLike(Integer value) {
            addCriterion("STAFF_ID like ", value, "STAFF_ID", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdNotRightLike(Integer value) {
            addCriterion("STAFF_ID  not like ", value, "STAFF_ID", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdIn(List<Integer> values) {
            addCriterion("STAFF_ID  in ", values, "STAFF_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdNotIn(List<Integer> values) {
            addCriterion("STAFF_ID not in ", values, "STAFF_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdBetween(Integer value1, Integer value2) {
            addCriterion("STAFF_ID between ", value1, value2, "STAFF_ID");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andStaffIdNotBetween(Integer value1, Integer value2) {
            addCriterion("STAFF_ID not between ", value1, value2, "STAFF_ID");
            return (AidProjectProgressCriteria) this;
        }
        public AidProjectProgressCriteria andContentIsNull() {
            addCriterion("CONTENT is null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentIsNotNull() {
            addCriterion("CONTENT is not null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentEqualTo(String value) {
            addCriterion("CONTENT =", value, "CONTENT");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentNotEqualTo(String value) {
            addCriterion("CONTENT <>", value, "CONTENT");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentGreaterThan(String value) {
            addCriterion("CONTENT >", value, "CONTENT");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("CONTENT >=", value, "CONTENT");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentLessThan(String value) {
            addCriterion("CONTENT <", value, "CONTENT");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentLessThanOrEqualTo(String value) {
            addCriterion("CONTENT <=", value, "CONTENT");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentLike(String value) {
            addCriterion("CONTENT like ", value, "CONTENT", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentNotLike(String value) {
            addCriterion("CONTENT  not like ", value, "CONTENT", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentLeftLike(String value) {
            addCriterion("CONTENT like ", value, "CONTENT", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentNotLeftLike(String value) {
            addCriterion("CONTENT  not like ", value, "CONTENT", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentRightLike(String value) {
            addCriterion("CONTENT like ", value, "CONTENT", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentNotRightLike(String value) {
            addCriterion("CONTENT  not like ", value, "CONTENT", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentIn(List<String> values) {
            addCriterion("CONTENT  in ", values, "CONTENT");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentNotIn(List<String> values) {
            addCriterion("CONTENT not in ", values, "CONTENT");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentBetween(String value1, String value2) {
            addCriterion("CONTENT between ", value1, value2, "CONTENT");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andContentNotBetween(String value1, String value2) {
            addCriterion("CONTENT not between ", value1, value2, "CONTENT");
            return (AidProjectProgressCriteria) this;
        }
        public AidProjectProgressCriteria andPhotoListIsNull() {
            addCriterion("PHOTO_LIST is null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListIsNotNull() {
            addCriterion("PHOTO_LIST is not null");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListEqualTo(String value) {
            addCriterion("PHOTO_LIST =", value, "PHOTO_LIST");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListNotEqualTo(String value) {
            addCriterion("PHOTO_LIST <>", value, "PHOTO_LIST");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListGreaterThan(String value) {
            addCriterion("PHOTO_LIST >", value, "PHOTO_LIST");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListGreaterThanOrEqualTo(String value) {
            addCriterion("PHOTO_LIST >=", value, "PHOTO_LIST");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListLessThan(String value) {
            addCriterion("PHOTO_LIST <", value, "PHOTO_LIST");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListLessThanOrEqualTo(String value) {
            addCriterion("PHOTO_LIST <=", value, "PHOTO_LIST");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListLike(String value) {
            addCriterion("PHOTO_LIST like ", value, "PHOTO_LIST", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListNotLike(String value) {
            addCriterion("PHOTO_LIST  not like ", value, "PHOTO_LIST", 1);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListLeftLike(String value) {
            addCriterion("PHOTO_LIST like ", value, "PHOTO_LIST", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListNotLeftLike(String value) {
            addCriterion("PHOTO_LIST  not like ", value, "PHOTO_LIST", 0);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListRightLike(String value) {
            addCriterion("PHOTO_LIST like ", value, "PHOTO_LIST", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListNotRightLike(String value) {
            addCriterion("PHOTO_LIST  not like ", value, "PHOTO_LIST", 2);
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListIn(List<String> values) {
            addCriterion("PHOTO_LIST  in ", values, "PHOTO_LIST");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListNotIn(List<String> values) {
            addCriterion("PHOTO_LIST not in ", values, "PHOTO_LIST");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListBetween(String value1, String value2) {
            addCriterion("PHOTO_LIST between ", value1, value2, "PHOTO_LIST");
            return (AidProjectProgressCriteria) this;
        }

        public AidProjectProgressCriteria andPhotoListNotBetween(String value1, String value2) {
            addCriterion("PHOTO_LIST not between ", value1, value2, "PHOTO_LIST");
            return (AidProjectProgressCriteria) this;
        }

    }

    public static class AidProjectProgressCriteria extends GeneratedCriteria {

        protected AidProjectProgressCriteria() {
            super();
        }
    }

    public static class AidProjectProgressCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected AidProjectProgressCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected AidProjectProgressCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected AidProjectProgressCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected AidProjectProgressCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected AidProjectProgressCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected AidProjectProgressCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}